package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.dto.workroom.WorkInternalGroupAddDTO;
import com.pactera.madp.cp.api.dto.workroom.WorkInternalGroupPageDTO;
import com.pactera.madp.cp.api.dto.workroom.WorkInternalGroupUpdateDTO;
import com.pactera.madp.cp.api.entity.workroom.WorkInternalGroupEntity;
import com.pactera.madp.cp.api.vo.workroom.WorkInternalGroupDetailsVO;
import com.pactera.madp.cp.api.vo.workroom.WorkInternalGroupListVO;
import com.pactera.madp.cp.api.vo.workroom.WorkInternalGroupPageVO;

import java.util.List;

/**
 * WorkInternalGroupService
 *
 * @author jun
 * @version 1.0
 * 2021/8/30 11:33
 **/
public interface WorkInternalGroupService extends IService<WorkInternalGroupEntity> {

    boolean saveWorkInternalGroup(WorkInternalGroupAddDTO dto);

    boolean updateWorkInternalGroup(WorkInternalGroupUpdateDTO dto);

    Page<WorkInternalGroupPageVO> getPage(Page page, WorkInternalGroupPageDTO dto);


    List<WorkInternalGroupListVO> getList();

    WorkInternalGroupDetailsVO getDetails(Integer id);

}
